]> dgit.raspbian.org Git - gnome-shell.git/commit
status/network: Use connectObject() to connect client signals
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 31 Jul 2022 23:47:22 +0000 (01:47 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 7 Aug 2022 20:41:09 +0000 (22:41 +0200)
commitf411228fa01ef5c5017dffad0e58e6a75cffd857
treee8bd709bd141793ad749bfe672dd7e732bb628d4
parentc33b5de174f0464ef0e2062c17cabf4c1a3a57c0
status/network: Use connectObject() to connect client signals

We would want the signals to be disconnected if we ever happened to
destroy the indicator. Even if we don't, connectObject() is simply
nicer when connecting half a dozen handlers at once.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2406>
js/ui/status/network.js